<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>

</head>
<body>
	<div align="right">
		<p><a href="manager_loginPage">后台管理</a></p>
	</div>
	<a href="user_login">测试登录</a>
	<h3><s:actionerror/></h3>
	<s:form action="user_loginCheck" name="userloginForm" method="post">
		<s:textfield name="userName" label="用户名"></s:textfield>
		<s:password name="userPassword" label="密码"></s:password>
	
		<s:submit value="登录"></s:submit>
	</s:form>
	<s:a href="content/regist.jsp">注册</s:a>
</body>
</html>